<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="packageId" name="packageId" th:value="${packagingDO.packageId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">产品名称：</label>
                            <div class="col-sm-8">
                                <input id="productName" name="productName" th:value="${packagingDO.productName}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">产品编码：</label>
                            <div class="col-sm-8">
                                <input id="productCode" name="productCode" th:value="${packagingDO.productCode}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">规格：</label>
                            <div class="col-sm-8">
                                <input id="specification" name="specification" th:value="${packagingDO.specification}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">追溯码：</label>
                            <div class="col-sm-8">
                                <input id="traceCode" name="traceCode" th:value="${packagingDO.traceCode}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">包装入库数量：</label>
                            <div class="col-sm-8">
                                <input id="packageNumber" name="packageNumber" th:value="${packagingDO.packageNumber}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">包装入库时间：</label>
                            <div class="col-sm-8">
                                <input id="packageTime" name="packageTime"
                                       th:value="${#dates.format(packagingDO.packageTime,'yyyy-MM-dd HH:mm')}"
                                       class="form-control" type="datetime-local">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/packaging/edit.js">

</script>
</body>
</html>
